#!/bin/bash

pid=`ps -ef | grep 'com.yl.chainStore.ApplicationKt' | grep -v grep | awk '{print $2}'`
kill $pid

nohup java  -cp ./chain_store.jar:./libs/* com.yl.chainStore.ApplicationKt &
sleep 1000
tail -f nohup.out
